//  Android Carpool System
//  2011-2011
//  Author: Jinhuan Wang
//  name: s2pReply.java
//  description: data structure for receive passager's search result reply from servlet
//$history: /carpool/scr/com/carpool/message/s2pReply.java$
/*************************************************/
package com.dataexchange;
import java.util.ArrayList;
import java.util.List;


public class s2pReply extends ReplyMessage  {	
	public s2pReply(){
		this.replyType=MessageType.passager_reply;
	}
	List<RouteInfo> routersInfo;
	public void addRouter(RouteInfo route) {
		if(this.routersInfo==null)
		{routersInfo=new ArrayList<RouteInfo>();}
		this.routersInfo.add( route);
	}
	public List<RouteInfo> getRouters() {
		return this.routersInfo ;
	}
}
